<?php

namespace Swoole\Coroutine;

/**
 * @since 4.6.2
 */
class Iterator extends \ArrayIterator
{
    const STD_PROP_LIST = 1;
    const ARRAY_AS_PROPS = 2;

    /**
     * @param $array[optional]
     * @param $flags[optional]
     *
     * @return mixed
     */
    public function __construct($array = null, $flags = null)
    {
    }

    /**
     * @param $serialized[required]
     *
     * @return mixed
     */
    public function __unserialize($serialized)
    {
    }

    /**
     * @return mixed
     */
    public function __serialize()
    {
    }

    /**
     * @return mixed
     */
    public function __debugInfo()
    {
    }

    /**
     * @param $index[required]
     *
     * @return mixed
     */
    public function offsetExists($index)
    {
    }

    /**
     * @param $index[required]
     *
     * @return mixed
     */
    public function offsetGet($index)
    {
    }

    /**
     * @param $index[required]
     * @param $newval[required]
     *
     * @return mixed
     */
    public function offsetSet($index, $newval)
    {
    }

    /**
     * @param $index[required]
     *
     * @return mixed
     */
    public function offsetUnset($index)
    {
    }

    /**
     * @param $value[required]
     *
     * @return mixed
     */
    public function append($value)
    {
    }

    /**
     * @return mixed
     */
    public function getArrayCopy()
    {
    }

    /**
     * @return mixed
     */
    public function count()
    {
    }

    /**
     * @return mixed
     */
    public function getFlags()
    {
    }

    /**
     * @param $flags[required]
     *
     * @return mixed
     */
    public function setFlags($flags)
    {
    }

    /**
     * @return mixed
     */
    public function asort()
    {
    }

    /**
     * @return mixed
     */
    public function ksort()
    {
    }

    /**
     * @param $cmp_function[required]
     *
     * @return mixed
     */
    public function uasort($cmp_function)
    {
    }

    /**
     * @param $cmp_function[required]
     *
     * @return mixed
     */
    public function uksort($cmp_function)
    {
    }

    /**
     * @return mixed
     */
    public function natsort()
    {
    }

    /**
     * @return mixed
     */
    public function natcasesort()
    {
    }

    /**
     * @param $serialized[required]
     *
     * @return mixed
     */
    public function unserialize($serialized)
    {
    }

    /**
     * @return mixed
     */
    public function serialize()
    {
    }

    /**
     * @return mixed
     */
    public function rewind()
    {
    }

    /**
     * @return mixed
     */
    public function current()
    {
    }

    /**
     * @return mixed
     */
    public function key()
    {
    }

    /**
     * @return mixed
     */
    public function next()
    {
    }

    /**
     * @return mixed
     */
    public function valid()
    {
    }

    /**
     * @param $position[required]
     *
     * @return mixed
     */
    public function seek($position)
    {
    }
}
